package com.summer.shopping.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.summer.shopping.domain.table.Banner;
import com.summer.shopping.domain.table.dto.BannerDto;
import com.summer.shopping.domain.table.dto.BannerQueryParam;
import com.summer.shopping.domain.table.dto.PageDTO;
import com.summer.shopping.domain.table.vo.BannerVo;
import com.summer.shopping.utils.PageResult;

import java.util.List;

public interface BannerService extends IService<Banner> {
    void add(BannerDto bannerDto);

    PageResult<BannerVo> getPageList(PageDTO pageDTO, BannerQueryParam bannerQueryParam);

    BannerVo getOneById(Integer id);

    void delete(List<Long> ids);

    void up(BannerDto bannerDto);
}
